package com.lovestudying.service;

import com.lovestudying.entity.Reply;
import com.lovestudying.util.PageInfo;

public interface ReplyService {
	/**
	 * 发表评论
	 * 
	 * @param replyId
	 * @param create_time
	 * @param account_id
	 * @param reply_content
	 * @param reply_to
	 * @param parent_comment
	 * @return
	 */
	Boolean postReply(String replyId, String create_time, String account_id, String reply_content, String reply_to,
			String parent_comment);

	/**
	 * 依据一级评论获取回复组
	 * 
	 * @param parentGroupUuid
	 * @return
	 */
	PageInfo<Reply> getReplyToInfoBy(String parentGroupUuid);

	Integer getReplyNumByParent(String parentGroupUuid);

	PageInfo<Reply> getReplyToInfoBy(String parentGroupUuid, String orderParam, String desc, Integer pageSize,
			Integer pageNum);


}
